<?php



if ($_POST) {

	include_once './db_bb_connect.php';

	$tagname = $_POST['tagname'];

	$sql= "INSERT INTO video_feedback_taglist (tag) VALUES ('$tagname')";
	
	if ( $db->query($sql) ) {  

 		echo "Tag Succesfully Added";

	} else {
	    echo "Error: " . $sql . "<br>" . $db->error;
	} 

} else {
	echo "Something Wrong";
}


?>